var MAX_p=location.protocol=='https:'?'https:':'http:';
var MAX_r=Math.floor(Math.random()*99999999);
if (!document.MAX_used) document.MAX_used = ',';
function MAX_adjs(z,n)
{
  if (z>-1) {
    var az="<"+"script language='JavaScript' type='text/javascript' ";
    az+="src='"+MAX_p+"//ads.gforgaming.com/delivery/ajs.php?n="+n+"&zoneid="+z;
    az+="&block=1&source="+MAX_channel+"&exclude="+document.MAX_used+"&r="+MAX_r;
    az+="&mmm_fo="+(document.mmm_fo)?'1':'0';
    if (document.context) az+= "&context=" + escape(document.context);
    if (window.location) az+="&loc="+escape(window.location);
    if (document.referrer) az+="&referer="+escape(document.referrer);
    az+="'><"+"/script>";
    document.write(az);
  }
}
function MAX_adpop(z,n)
{
  if (z>-1) {
    var az="<"+"script language='JavaScript' type='text/javascript' ";
    az+="src='"+MAX_p+"//ads.gforgaming.com/delivery/apu.php?n="+n+"&zoneid="+z;
    az+="&source="+MAX_channel+"&exclude="+document.MAX_used+"&r="+MAX_r;
    if (window.location) az+="&loc="+escape(window.location);
    if (document.referrer) az+="&referer="+escape(document.referrer);
    az+="'><"+"/script>";
    document.write(az);
  }
}